/*
 * Copyright 2012 NJUT  qixiaobo. All rights reserved.
 */
package com.fujitsu.nanjing.tieba.domain;

import java.util.List;

import org.springframework.stereotype.Component;

import com.fujitsu.nanjing.tieba.ibator.CoreBoardWithBLOBs;
import com.fujitsu.nanjing.tieba.ibator.CoreTopic;

/**
 * BoardInfo.java
 * 
 * @author Qixiaobo-win8
 */
@Component
public class BoardInfo extends CoreBoardWithBLOBs {
	/**
	 *
	 */
	private static final long serialVersionUID = -4168678758766575841L;
	private List<CoreTopic> topics;
	private int offset;
	private int length;
	private int page;
	private int totalCount;
	public int getOffset() {
		return offset;
	}
	public void setOffset(int offset) {
		this.offset = offset;
	}
	public int getLength() {
		return length;
	}
	public void setLength(int length) {
		this.length = length;
	}
	public void setTopics(List<CoreTopic> topics) {
		this.topics = topics;
	}
	public List<CoreTopic> getTopics() {
		return topics;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getPage() {
		return page;
	}
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}
	public int getTotalCount() {
		return totalCount;
	}

}
